<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0" />
    <title>美策平台</title>
    <link rel="icon" type="image/png" href="/img/icon.png">
    <link rel="stylesheet" type="text/css" href="../../css/app.css">
    <link rel="stylesheet" type="text/css" href="../../css/my.css">
    <script type="text/javascript" src="../../js/jquery.min.js"></script>
    <script type="text/javascript" src="/h5/js/all.js"></script>
</head>
<body>
<!--
    制作者：九哥
    页面：缓存设置
    时间：2019-07-16
    更新：
-->





<!---------- 我的设置 ---------->
<div id="settingPage">
    <div id="settingTitle">
        <b>清除缓存设置</b>
        <img src="../../images/return.png" onclick="history.go(-1)">
    </div>
    <div class="myTable">
        <a href="javascript:;" onclick="clearCache('comInfo')">
            <div class="table-box">
                <div class="tableTitle">
                    清除【注册的公司信息】
                </div>
            </div>
        </a>
        <!--<a href="javascript:;" onclick="clearCache('jobList')">-->
            <!--<div class="table-box">-->
                <!--<div class="tableTitle">-->
                    <!--清除【公司岗位列表】-->
                <!--</div>-->
            <!--</div>-->
        <!--</a>-->
        <a href="javascript:;" onclick="clearCache('staffComWills')">
            <div class="table-box">
                <div class="tableTitle">
                    清除【工人信息公司求职意向】
                </div>
            </div>
        </a>
        <a href="javascript:;" onclick="clearCache('facWills')">
            <div class="table-box">
                <div class="tableTitle">
                    清除【工人信息工厂求职意向】
                </div>
            </div>
        </a>
        <!--<hr>-->
        <div style="height:10px;background:#F5F5F5;"></div>
        <!--<hr>-->
        <a href="javascript:;" onclick="clearCache('homeJobList')">
            <div class="table-box">
                <div class="tableTitle">
                    清除【首页岗位推荐】
                </div>
            </div>
        </a>
        <hr>
        <a href="javascript:;" onclick="clearCache('homeFacList')">
            <div class="table-box">
                <div class="tableTitle">
                    清除【首页热门工厂】
                </div>
            </div>
        </a>
        <!--<hr>-->
        <div style="height:10px;background:#F5F5F5;"></div>
        <!--<hr>-->
        <a href="javascript:;" onclick="clearCache('newsList')">
            <div class="table-box">
                <div class="tableTitle">
                    清除【资讯列表】
                </div>
            </div>
        </a>
        <hr>
    </div>
</div>
<!---------- 我的设置 ---------->





<!-----------提示信息---------->
<div id="pop">
    <div id="popMask"></div>
    <div id="popDetail">
    </div>
</div>
<!-----------提示信息---------->

<!----------错误提示---------->
<div id="errMsg"></div>
<!----------错误提示---------->
</body>
<script type="text/javascript" src="../../js/app.js"></script>
<!--<script type="text/javascript" src="../../js/cache.js"></script>-->
</html>

<script>
    function clearCache(key){
        var cache = cacheGet(key);
        console.log(cache)
        if (!cache) {
            getAppErrMsg('该缓存不存在！','',0);
            return
        }
        cacheDel(key);
        getAppErrMsg('清除成功！','',0);
    }
</script>